<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<style>
    .listImg{
        display: table;
    }
    .closeBtn{
        width: 200px;
        height: 200px;
        position: relative;
        float: left;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .closeBtn .upImg{
        width: 100%;
        height: 100%;
    }
    .iconclose{
        position: absolute;
        top: -10px;
        right: -10px;
        width: 25px;
        height: 25px;
    }
    .iconclose img{
        width: 20px;
        height: 20px;
    }
</style>
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">资源名：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" placeholder="资源名" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">资源类型：</label>
                            <div class="col-sm-8">
                                <select id="projectId" name="projectId" class="form-control"></select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">展示状态：</label>
                            <div class="col-sm-8">
                                <select id="state" name="state" class="form-control" type="text">
                                    <option value="">请选择</option>
                                    <option value="0">启用</option>
                                    <option value="1">禁用</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">封面：</label>
                            <div class="col-sm-8">
                                <div class="listImg"></div>
                                <button type="button" class="layui-btn" id="test1">文件上传</button>
                                <input id="img" name="img" placeholder="img" class="form-control" type="hidden">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目排序：</label>
                            <div class="col-sm-8">
                                <input id="sort" name="sort" placeholder="项目排序" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">介绍：</label>
                            <div class="col-sm-8">
                                <input id="introduction" name="introduction" placeholder="介绍"
                                       class="form-control" type="text">

                            </div>
                        </div>



                        <div class="form-group">
                            <label class="col-sm-3 control-label">type：</label>
                            <div class="col-sm-8">
                                <input id="type" name="type" placeholder="请输入类型" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">profileId：</label>
                            <div class="col-sm-8">
                                <input id="profileId" name="profileId" placeholder="请输入profileId" class="form-control" type="text">
                            </div>
                        </div>



                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/zykManagementResources/add.js">
</script>
</body>
</html>
